#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QFileInfoList>

#include "mythread.h"

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

signals:
    void startThread();

private:
    Ui::MainWindow *ui;

    int index = 0;

    QFileInfoList list;

    MyThread *myThread;
};

#endif // MAINWINDOW_H
